package com.moon.admin.monitor.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.moon.admin.framework.springmvc.domain.R;
import com.moon.admin.monitor.domain.Server;

/**
 * 服务器监控
 * @author ninglong
 */
@RestController
@RequestMapping("monitor")
public class ServerController {

	@GetMapping(value = "server")
	public R<Server> server() throws Exception {
		Server server = new Server();
		return R.success(server);
	}
}
